package com.woniu;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

//开启定时任务
@EnableScheduling
// 开启缓存 ->这里用到的是redis中的缓存
@EnableCaching
@SpringBootApplication
@MapperScan("com.woniu.mapper")
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class,args);
    }

}
